package day07;

public class CylinderTest {
	public static void main(String[] args) {
		Circle c=new Circle();
		c.setRadius(20);
		Cylinder cy=new Cylinder();
		cy.setLength(10);
		
		double cys= cy.finfValume();
		System.out.println("圆柱体的体积为："+cys);
	}
}
